﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Adonet
{
    class Orage
    {
        public void Select()
        {
            string connstr = "server=.;database=Users2;uid=sa;pwd=1218";
            SqlConnection conn = new SqlConnection(connstr);

            var SelectSQL = "select *from Factory";
            SqlCommand command = new SqlCommand(SelectSQL, conn);
        }
    }
}
